// 通用数据
import { getAllTypeList } from '@/api/app.js';
export default {
  state: {
    searchType: '',
    searchKey: ''
  },
  getters: {
  },
  mutations: {
  },
  actions: {
    // 获取分类
    async getAllType(empty, payload) {
      try {
        const resData = await getAllTypeList(payload);
        return resData
      } catch (error) {
        console.error(error)
      }
    }
  }
}
